#include "Friend.h"

#include "..\Platform\PlatformFactory.h"
#include "..\Platform\WindowsOpenGLES.h"
#include "..\Game\StateManager.h"

//void CallBackStartDevice(const FWobject, FWobject extra)
//{
//	PlatformFactory::GetInstance()->GetCurrentPlatform()->InternalRun(extra);
//}

void CallBackEndDevice(const FWobject, FWobject)
{
	PlatformFactory::GetInstance()->GetCurrentPlatform()->End();
}

void CallBackInternalSwitch(const FWobject, FWobject)
{
	StateManager::GetInstance()->InternalSwitch();
}